<template>
	<zkView ref="zkView" v-slot:uContainer>
		<view class="container">
			<view class="content">
				<view class="item" @click="toServiceAgreement">
					<text>服务协议</text>
					<uni-icons type="right" size="36rpx"></uni-icons>
				</view>
				<view class="item" @click="toPrivacyPolicy">
					<text>隐私政策</text>
					<uni-icons type="right" size="36rpx"></uni-icons>
				</view>
			</view>
			<view class="content">
				<view class="item">
					<text>当前版本</text>
					<text v-if="version">v{{version}}</text>
					<text v-else>{{envVersion}}</text>
				</view>
			</view>
			<button size="default" type="default" class="btnDefault" hover-class="btnHover" @click="onMiniOut">退出小程序</button>
		</view>
	</zkView>
</template>

<script>
	import indexJs from './index.js';
	import mixins from '@/common/mixins.js';
	export default {
		components: {},
		mixins: [mixins],
		computed: {},
		...indexJs
	};
</script>

<style lang="scss" scoped>
	@import './index.scss';
</style>